<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2000/REC-xhtml1-200000126/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
	<title><?php echo $data->title; ?> - Eduow</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="<?php echo $data->language; ?>" />
	<meta name="description" content="<?php echo mb_substr(strip_tags($data->content),0,150,'UTF-8'); ?>" /> 
        <meta name="keywords" content="<?php echo $data->tags; ?>" /> 
	<meta name="robots" content="index,follow,noarchive">
	<link rel="shortcut icon" href="/images/favicon.ico" />
	<link rel="stylesheet" type="text/css" href="/css/print.css" />
    </head>
<body>

<div class="post">
	<div class="title">
		<h1><?php echo CHtml::link(CHtml::encode($data->title), $data->url); ?></h1>
	</div>
	<div class="author">
		написана от <?php echo $data->author->username . ' на ' . date('d.m.y',$data->create_time); ?>
	</div>
	<div class="postcontent">
		<?php
			$this->beginWidget('CMarkdown', array('purifyOutput'=>true));
			echo $data->content;
			$this->endWidget();
		?>
	</div>
	<div class="nav">
	Този материал е свален от <b>eduow.com</b> на <?php echo date("j. n. Y"); ?> година.
	</div>
</div>

</body>
</html>
